<div id="titulo_apresentacao">
    <?= $this->Html->image("seta.png", array('class' => 'seta')); ?><h1>Galeria de Fotos</h1>
</div>
<br /><br /><br />

<?php foreach ($listas as $lista): ?> 
    <div class="bloco_galeria">
        <div class="galeria_img">
            <img src="arquivos/galerias_capas/<?= $lista[$tabela]['arquivo']; ?>" alt="" />
        </div>
        <div class="galeria_txt">
            <?= $this->Html->image("seta.png"); ?>&nbsp;&nbsp;&nbsp;<?= $lista[$tabela]['titulo']; ?><br /><br />
            <?= $lista[$tabela]['descricao']; ?><br /><br />
            <?= $this->Html->link('[ visitar galeria de foto ]', array('controller' => 'galerias', 'action' => 'fotos', $lista[$tabela]['id'] ), array('escape' => false));?>
        </div>
    </div>

    <br /><br />
    <?= $this->Html->image("bolotas_div.png"); ?>
    <br /><br />
<?php endforeach; ?>

<table>
    <tr>
        <td><?php echo $this->Paginator->prev('« Anterior', null, null, array('class' => 'disabled')); ?></td>
        <td><?php echo $this->Paginator->numbers(); ?></td>
        <td style="text-align:right"><?php echo $this->Paginator->next('Próximo »', null, null, array('class' => 'disabled')); ?> </td>
    </tr>
</table>